package com.yingxin.yxerp.module.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.yingxin.yx.framework.mybatisplus.common.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 银行账户
 * @author fanchao
 * @since 2021-08-18
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_bank_account")
public class BankAccount extends CommonEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 账户名
     */
    private String accountName;

    /**
     * 开户行
     */
    private String accountBank;

    /**
     * 账号
     */
    private String accountNo;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建者id
     */
    @TableField(fill = FieldFill.INSERT)
    private String creatorId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新者id
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updaterId;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 删除标记：0 正常 1 已删除
     */
    @TableLogic
    private String delFlag;


}
